#include "widget.h"
#include "ui_widget.h"
#include <QIcon>


Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    this->setWindowTitle("设置窗口标题");

    // 设置图标
    QIcon icon(":/qs_bao.png");
    this->setWindowIcon(icon);

}

Widget::~Widget()
{
    delete ui;
}

